﻿
Public Class FormMain

    Private Sub CustomerToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CustomerToolStripMenuItem.Click
        FormCustomer.MdiParent = Me
        FormCustomer.Show()
        FormCustomer.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub StockToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StockToolStripMenuItem.Click
        FormStock.MdiParent = Me
        FormStock.Show()
        FormStock.WindowState = FormWindowState.Maximized

    End Sub

    Private Sub SaleToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaleToolStripMenuItem.Click
        FormSale.MdiParent = Me
        FormSale.Show()
        FormSale.WindowState=FormWindowState.Maximized
    End Sub

    Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click
        Me.Close()

    End Sub

    Private Sub ReportToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ReportToolStripMenuItem.Click
    End Sub

    Private Sub CustomersToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CustomersToolStripMenuItem.Click
        FormReport_Customer.MdiParent = Me
        FormReport_Customer.WindowState = FormWindowState.Maximized
        FormReport_Customer.Show()
    End Sub

    Private Sub SaledToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaledToolStripMenuItem.Click
        FormReportStock.MdiParent = Me
        FormReportStock.WindowState = FormWindowState.Maximized
        FormReportStock.Show()
    End Sub

    Private Sub StockToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StockToolStripMenuItem1.Click
        FormReport_Selas.MdiParent = Me
        FormReport_Selas.WindowState = FormWindowState.Maximized
        FormReport_Selas.Show()
    End Sub
    Private Sub AboutToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AboutToolStripMenuItem.Click
        Formtest.MdiParent = Me
        Formtest.Show()
        Formtest.WindowState = FormWindowState.Normal
    End Sub

    Private Sub HistorySaleToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles HistorySaleToolStripMenuItem.Click
        FormHistory.MdiParent = Me
        FormHistory.Show()
        FormHistory.WindowState = FormWindowState.Maximized
    End Sub

    Private Sub FormMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub
End Class